xen/arm: build: add missed dependency for head.S
authorWei Chen <wei.chen@linaro.org>
Fri, 3 Jun 2016 10:07:13 +0000 (18:07 +0800)
committerWei Liu <wei.liu2@citrix.com>
Wed, 8 Jun 2016 15:20:42 +0000 (16:20 +0100)
commit9ea859dedad4fc5e2afa222569226363e1e0ed6b
treef39c0d6c8baf0476129a14d3c9ffa292efb7a489
parent6e03a34108d6ca98cba490e0d9947bdac2b8ee5c
xen/arm: build: add missed dependency for head.S

When we update the header files that had been included in head.S.
The build system would not re-compile the head.S. Because in the
build rules, the dependencies are setting to .*.d (eg. DEPS = .*.d)
files in the same folder as Makefile.

But head.S is very special, it was used by the Makefile in the parent
folder: "ALL_OBJS := $(TARGET_SUBARCH)/head.o".

In this case, the build system could not find the dependency in DEPS.
When we update the header files, the build system is unware of this
update. If we re-build the Xen without doing make clean or touching
the head.S, the build system will not recompile the head.S.

Signed-off-by: Wei Chen <Wei.Chen@linaro.org>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
xen/Rules.mk
xen/arch/arm/Makefile